#include "platform/types.h"
#include "core/dataChunker.h"
#include "collision/collision.h"
#include "sceneGraph/sceneObject.h"
#include "collision/convex.h"
#include "collision/gjk.h"
#include "collision/concretePolyList.h"

static DataChunker sChunker;

CollisionStateList CollisionStateList::sFreeList;
CollisionWorkingList CollisionWorkingList::sFreeList;
F32 sqrDistanceEdges(const Point3& start0,
	const Point3& end0,
	const Point3& start1,
	const Point& end1,
	Point3F* is,
	Point3f* it);
	
CollisionState::CollisionState()
{
	mLista = mListb = 0;
}

CollisionState::~CollisionState()
{
	if (mLista)
		mLista->free();
	if (mListb)
		mListb->free();
}

void CollisionState::swap()
{
}

void CollisionState::set(Convex* a, Convex* b, const MatrixF& a2w, const MatrixF& b2w)
{
}

F32 CollisionState::distance(const MatrixF& a2w, const MatrixF& b2w, const F32 dontCareDist,
							const MatrixF& w2a, const MatrixF& _w2b)
{
	
}
